Skip to content

Instantly share code, notes, and snippets.

Build a Hyper-converged Proxmox HA Cluster with Ceph

Part of collection: Hyper-converged Homelab with Proxmox

This is part 1 focussing on the networking part of building a Proxmox High Available cluster with Ceph.

Part 2 focusses on building the Proxmox Cluster and setting up Ceph itself, and part 3 focussing on Managing and Troubleshooting Proxmox and Ceph.

Why

For some time, I was looking for options to build a Hyper-converged (HCI) Homelab, considering options like TrueNAS Scale, SUSE Harvester) among other option.

@Denkong
Denkong / SQL - блокировки, транзакции
Created November 22, 2018 15:53
SQL - блокировки, транзакции
===SQL====
Транзакция — это операция, состоящая из одного или нескольких запросов к базе данных.
Суть транзакций — обеспечить корректное выполнение всех запросов в рамках одной транзакции,
а так-же обеспечить механизм изоляции транзакций друг от друга для решения проблемы совместного доступа к данным.
set autocommit=0; //отключаем autocommit
Start transaction; (также, можно написать BEGIN; )
Select * from table where ... FOR UPDATE; // блокирует записаь, снимается после commit
…какие-то действий с БД (insert, update,delete…)
@BookGin
BookGin / 臺灣學術倫理教育資源中心 台灣學術倫理教育資訊中心 題庫 答案 解答 .txt
Last active May 21, 2024 06:00
學術倫理 解答,臺灣學術倫理教育資源中心 台灣學術倫理教育資訊中心 題庫 答案 解答 ,請大家留言補充更多解答 或是修正答案 感謝!
使用方法:Ctrl + F 直接輸入題目關鍵字搜尋即可
請大家留言補充更多解答 或是修正答案,感謝各位的貢獻!
臺灣學術倫理教育資源中心
https://ethics.moe.edu.tw/exam/
其他資源:

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Create Free AWS Account

Create free AWS Account at https://aws.amazon.com/

2. Create and Lauch an EC2 instance and SSH into machine

I would be creating a t2.medium ubuntu machine for this demo.

@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active May 21, 2024 05:57 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@PARC6502
PARC6502 / OpenSourceBaas.md
Last active May 21, 2024 05:55
List of open source, self hosted BaaS - Backend as a service

Backend as a Service

Supabase - ~52K stars

  • Designed explicitly as an open source firebase alternative
  • Typescript based
  • Docker support

Appwrite - ~32K stars

  • Written in JavaScript and PHP
  • Docker based
  • Realtime support across all services
@maxim
maxim / gh-dl-release
Last active May 21, 2024 05:55
Download assets from private Github releases
#!/usr/bin/env bash
#
# gh-dl-release! It works!
#
# This script downloads an asset from latest or specific Github release of a
# private repo. Feel free to extract more of the variables into command line
# parameters.
#
# PREREQUISITES
#
@jhorsman
jhorsman / Cisco_Anyconnect.ps1
Created January 6, 2015 10:11
PowerShell to automate VPN connection with Cisco AnyConnect Secure Mobility Client
#Source www.cze.cz
#This script is tested with "Cisco AnyConnect Secure Mobility Client version 3.1.00495"
# Usage: & '.\Cisco_Anyconnect.ps1' [-Server <server name or ip>] [-Group <group>] [-User <user>] [-Password <password>]
#Please change following variables
#IP address or host name of cisco vpn, Username, Group and Password as parameters
param (
[string]$Server = $( Read-Host "Input server, please" ),
@hyoban
hyoban / .gitconfig
Last active May 21, 2024 05:53
Hyoban's dotfiles
[user]
name = Stephen Zhou
email = hi@hyoban.cc
signingkey = /Users/hyoban/.ssh/id_ed25519.pub
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore_global
quotepath = false
[gpg]
@WalkingCat
WalkingCat / UnpEax.cs
Last active May 21, 2024 05:48
UnpEax, for extracting (but not decrypting) EAppX/EAppXBundle/EMsiX/EMsiXBundle files
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.IO.MemoryMappedFiles;
using System.Xml;
namespace UnpEax
{
class Program